package com.study.zouchao.superproject.myreceivedtask.model.entity;

/**
 * Created by Administrator on 2017/6/28.
 */

public class FinishResult {

    /**
     * data : {"taskId":58,"taskStatus":4,"sponsorNickName":"zouchao","reward_price":250}
     * message : 完成任务成功
     * code : 29003
     */

    private DataBean data;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "FinishResult{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", code=" + code +
                '}';
    }

    public static class DataBean {
        /**
         * taskId : 58
         * taskStatus : 4
         * sponsorNickName : zouchao
         * reward_price : 250
         */

        private int taskId;
        private int taskStatus;
        private String sponsorNickName;
        private int reward_price;

        public int getTaskId() {
            return taskId;
        }

        public void setTaskId(int taskId) {
            this.taskId = taskId;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        public String getSponsorNickName() {
            return sponsorNickName;
        }

        public void setSponsorNickName(String sponsorNickName) {
            this.sponsorNickName = sponsorNickName;
        }

        public int getReward_price() {
            return reward_price;
        }

        public void setReward_price(int reward_price) {
            this.reward_price = reward_price;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "taskId=" + taskId +
                    ", taskStatus=" + taskStatus +
                    ", sponsorNickName='" + sponsorNickName + '\'' +
                    ", reward_price=" + reward_price +
                    '}';
        }
    }
}
